<div class="breadcrumb">
    <ul>
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#">Home</a>
            <span class="divider">
                <i class="icon-angle-right arrow-icon"></i>
            </span>
        </li>
        <li>
            <a href="#">Acadêmico</a>

            <span class="divider">
                <i class="icon-angle-right arrow-icon"></i>
            </span>
        </li>
        <li class="active">Requerimentos</li>
    </ul>
</div>
<div id="conteudo">
    <div class="c_header">
        <h1 class="tituloh1">Requerimentos</h1>
    </div>
    <p id="grade_status"><a class="botao" href="./academico/requerimento/novo/">
            <i class="icon-plus"></i> Criar um novo requerimento</a>
    </p>
    <p>&nbsp;</p>
    <div>
        <table id="rqs_lista" class="table-sort table-sort-search table-sort-show-search-count" cellspacing="0" width="100%">
            <thead>
                <tr>
                    <th>Protocolo</th>
                    <th>Requerimento</th>
                    <th>Categoria</th>
                    <th>Criado em</th>
                    <th>Status</th>
                </tr>
            </thead>
            <tfoot>
                <tr>
                    <th>Protocolo</th>
                    <th>Requerimento</th>
                    <th>Categoria</th>
                    <th>Criado em</th>
                    <th>Status</th>
                </tr>
            </tfoot>
            <tbody>
                <?php foreach ($rqs as $rqr) { ?>
                    <tr>
                        <td><?= get_protocolo($rqr, 1); ?></td>
                        <td><a href="/academico/requerimento/mostrar/<?= $rqr['id']. '/'. url_fr($rqr['nome']); ?>">
                        <?= $rqr['nome'] ?></a></td>
                        <td><?= $rqr['tipo'] ?></td>
                        <td data-order="<?= search_date($rqr['dt_criacao']) ?>"><?= $rqr['dt_criacao'] ?></td>
                        <td class="tooltip" title="<?= $rqr['status'] ?>" data-search="<?= $rqr['status'] ?>">
                                <?= get_status($rqr['status']) ?></td>
                    </tr>
                <?php } ?>
            </tbody>
        </table>
    </div>
    <p>&nbsp;</p>
</div>